package main.common;

public class Utility {
	
	/**
	 * Private so this class can only be used as a container for STATIC methods.
	 */
	private Utility() {
		
	}
	
	/**
     * Determines if the host name provided is a variation of localhost.
     */
    public static boolean isLocalHost(String hostName) {
        if (hostName.contains("localhost") || hostName.contains("127.0.0.1"))
        {
            return true;
        }
        return false;
    }
	
}
